package com.ld.control.business.task.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ld.control.business.process.vo.resp.ProcessTmpRespVo;
import com.ld.control.business.task.model.TaskProcessTmpModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 任务模板表 Mapper 接口
 * </p>
 *
 * @author wangfeng
 * @since 2024-05-09
 */
public interface TaskProcessTmpMapper extends BaseMapper<TaskProcessTmpModel> {

    /**
     * 查询某个任务模板下的流程模板
     * @param taskTmpId
     * @return
     */
    List<ProcessTmpRespVo> selectListByTaskTmpId(@Param("taskTmpId") Long taskTmpId, @Param("type") Integer type);

}
